import java.text.DecimalFormat;
import java.util.Scanner;
public class Bill {
    public static int[] starttime = new int[3];
    public static int[] endtime = new int[3];
    public static int[] poortime = new int[3];
    public static int time;
    public static float money;
    public static int year;
    public static int month;
    public static int day;
    public static int T = 0;
    public static int W = 1;
    public static int M = 1;
    public String classify(int[] starttime,int[] endtime,int day,int month,int year){
        Date.classify(day,month,year);
        Time.classify(starttime,endtime,day,month);
        Money.culculate();
        System.out.println(money);
        DecimalFormat mFormat = new DecimalFormat("0.00");
        String formatNum = mFormat .format(money);
        return formatNum;
    }
}
